<extend name="Public/base" />
<block name="body">
    <div class="main-title">
         <h2>{$meta_title}</h2>
    </div>
    <div class="tab-wrap with-padding">
       
        <div class="node-list">
            <div class="tab-pane in">
                <form action="__SELF__" method="POST" class="form-horizontal auth-form" enctype= "multipart/form-data">
                 <div class="form-item cf">
                     <label class="item-label">所属单位</label>
                     <div class="controls">
                         <select name="unit" class="text input-large form-control form-input-width">
                         <volist name="unitList" id="vo">
                             <option value="{$vo.id},{$vo.district}" <if condition="$data.unit eq $vo[id]">selected</if>>{$vo.title}</option>
                         </volist>
                         </select>
                     </div>
                 </div>
                 <div class="form-item cf">
                     <label class="item-label">角色类型</label>
                     <div class="controls">
                         <select name="group" class="text input-large form-control form-input-width">
                         <volist name="groupList" id="vo">
                             <option value="{$vo.id}" <if condition="$data.group eq $vo[id]">selected</if>>{$vo.title}</option>
                         </volist>
                         </select>
                     </div>
                 </div>

                 <br/>
                    <div class="form-item cf">
                        <label class="item-label">选择导入数据&nbsp;&nbsp;<span style="color:red;">(请严格按照模板导入)</span></label>

                        <div class="controls">
                            <input type="file" min="0" class="text input-large form-control form-input-width" name="realname" value="{$data.realname}" placeholder="" >
                                  
                        </div>
                    </div>
                    <input type="hidden" name="a_type" value="{$a_type}" />
                    <div style="margin-top: 20px;"></div>
                    <button type="submit" class="btn submit-btn " target-form="auth-form">{:L("_SURE_WITH_SPACE_")}</button>
                    <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">{:L("_RETURN_WITH_SPACE_")}</button>
                </form>
                    <div class="form-item cf" style="padding: 15px;">
                        <label class="item-label">下载数据模板</label>
                        <div class="controls">
				            <a href="./Uploads/Data/data.xls">点击下载</a>
                        </div>

                    </div>

            </div>
        </div>
    </div>

</block>
<block name="script">
    <script type="text/javascript" src="__STATIC__/qtip/jquery.qtip.min.js"></script>
    <link rel="stylesheet" type="text/css" href="__STATIC__/qtip/jquery.qtip.min.css" media="all">
    <script type="text/javascript" charset="utf-8">
        //导航高亮
        highlight_subnav('{:U('index')}');
    </script>
</block>
